# Copyright (c) 2019 Presto Labs Pte. Ltd.
# Author: leon

from typing import List, Union
from coin.exchange.binance.rest.public import BinanceBookQueryerBase


class BinanceBookQueryer(BinanceBookQueryerBase):
  def __init__(self,
               queue,
               worker_id: str,
               symbol: Union[List[str], str],
               period=None,
               logger=None):
    self._topic = 'binance_rest_futures_depth'
    self._url = 'https://fapi.binance.com/fapi/v1/depth?limit=100'
    super().__init__(queue, worker_id, symbol, period, logger)
